(function () {
  remLayout()
  function remLayout () {
    var w = document.documentElement.clientWidth
    w = w > 750 ? 750 : w
    w = w <= 375 ? 375 : w
    document.documentElement.style.fontSize = w / 7.5 + 'px'
  }
  window.addEventListener('resize', function () {
    remLayout()
  }, false)
}())
